<% include header.ejs %>

<body class="home blog" ondragstart="return false">
	<section class="hidden-xs">
		<ul class="cb-slideshow">
			<li><span>苟利</span></li>
			<li><span>国家</span></li>
			<li><span>生死以</span></li>
			<li><span>岂能</span></li>
			<li><span>祸福</span></li>
			<li><span>趋避之</span></li>
		</ul>
	</section>
	<% include rkey.ejs %>
	<% include nav.ejs %>
</body>
<div id="zan-bodyer">
	<div class="container">
		<div class="row">
			<div id="mainstay" class="col-md-8">
				<!-- 公告 -->
				<% include gonggao.ejs %>
				<!-- 公告结束 -->
				<!-- 内容主体 -->
				<% alllist2.forEach(function(item){%>
				<div id="article-list">
					<div class="article well clearfix mybody3 aos-init aos-animate" aos="flip-up"> <i class="fa fa-bookmark article-stick visible-md visible-lg"></i>
						<div class="data-article hidden-xs">
							<span class="month"> <%= item.datetime %> </span> <span class="day"><%=item.datetime %></span> </div>
						<!-- 大型设备文章属性 -->
						<section class="hidden-xs">
							<div class="title-article">
								<h1><a href="/blog/blogart?bid=<%=item.hrefid %>" target="_blank"><span class="animated_h1" ><%=item.title %></span><br><span class="label label-info" style="font-size:13px;"></span></a></h1>
							</div>
							<div class="tag-article"> <span class="label label-zan"><i class="fa fa-eye"></i><%=item.stars %> ℃</span> <span class="label label-zan"><i class="fa fa-comments"></i> <a href="/blog/blogart?bid=<%=item.hrefid %>"><%=item.comment.length %></a></span> </div>
							<div class="alert alert-zan mybody3">
								<p style="text-align: center;">
									<a href="/blog/blogart?bid=<%= item.hrefid %>" target="_blank">
										<div class="ih-item square effect bottom_to_top">
											<div class="img"><img src="<%=item.fmpath %>" alt="<%=item.title %>" /></div>
											<div class="info">
												<p>
													<%- item.content %>
												</p>
											</div>
										</div>
									</a>
								</p>
							</div>
						</section>
						<!-- 大型设备文章属性结束 -->
						<!-- 小型设备文章属性 -->
						<section class="visible-xs">
							<div class="title-article">
								<center>
									<h4><a href="/blog/blogart?bid=<%=item.hrefid %>"><span class="animated_h1" ><%=item.title %></span><br><span class="label label-info" style="font-size:11px;"></span></a></h4>
								</center>
							</div>
							<p>
								<center> <i class="fa fa-calendar"></i> <%=item.datetime %></center>
							</p>
							<p>
								<center> <i class="fa fa-eye"></i> <%=item.stars %> ℃ </center>
							</p>
							<div class="alert alert-zan mybody3">
								<p style="text-align: center;">
									<a href="/blog/blogart?bid=<%=item.hrefid %>" title="<%=item.title %>"><img src="<%=item.fmpath %>" alt="<%=item.title %>" /></a>
								</p>
							</div>
							<div class="alert alert-zan"> <%- item.content %></div>
							<a class="btn btn-danger pull-right read-more btn-block" href="/blog/blogart?bid=<%=item.hrefid %>" title="<%=item.title %>">阅读全文</a>
						</section>
						<!-- 小型设备文章属性结束 -->
					</div>

				</div>
				<!-- 内容主体结束 -->
				<% }) %>
				<!-- 分页 -->

				<div id="zan-page" class="clearfix">
					<ul class="pagination pagination-zan pull-right">

						<% pagecount.forEach(function(item){ %>
						<li <% if(item==page) { %> class="active"
							<% } else { %>
							<% } %> >
							<a href="/list?page=<%= item %>" class="geraltTb_pager">
								<%= item %>
							</a>
						</li>
						<% }) %>
					</ul>
				</div>

				<!-- 分页结束 -->
			</div>
			<aside class="col-md-4" id="sidebar">

				<% include login_r.ejs %>

				<% include right_b.ejs %>

			</aside>
		</div>
	</div>
</div>

<script src="/js/underscore-noflect.js"></script>

<% include footer.ejs%>